home *** CD-ROM | disk | FTP | other *** search
/ Garbo / Garbo.cdr / mac / progrmng / mlpmodul.sit / MacLogimoPlus Documentation / DEF2 Files / Loader.DEF < prev    next >
MacBinary  |  1990-06-14  |  2.1 KB  |  [TEXT/PMED]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Jun 13 22:15:45 1990, modified Wed Jun 13 22:15:45 1990, creator 'PMED', type ASCII, 1621 bytes "Loader.DEF" , at 0x6d5 348 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[PMED]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0a 4c 6f 61 64 65 72 | 2e 44 45 46 00 00 00 00 |..Loader|.DEF....|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 50 4d 45 | 44 01 00 00 00 00 00 00 |.TEXTPME|D.......|
|00000050| 00 00 00 00 00 06 55 00 | 00 01 5c a2 9c a3 d1 a2 |......U.|..\.....|
|00000060| 9c a3 d1 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 6e 01 00 00 |........|....n...|
|00000080| 44 45 46 49 4e 49 54 49 | 4f 4e 20 4d 4f 44 55 4c |DEFINITI|ON MODUL|
|00000090| 45 20 4c 6f 61 64 65 72 | 3b 0d 28 2a 20 6f 76 65 |E Loader|;.(* ove|
|000000a0| 72 6c 61 79 20 6c 6f 61 | 64 65 72 20 66 6f 72 20 |rlay loa|der for |
|000000b0| 74 68 65 20 4d 6f 64 75 | 6c 61 20 73 79 73 74 65 |the Modu|la syste|
|000000c0| 6d 20 2a 29 0d 28 2a 20 | 50 2e 20 46 69 6e 6b 2c |m *).(* |P. Fink,|
|000000d0| 20 45 54 48 20 2f 20 66 | 69 78 65 64 20 62 79 20 | ETH / f|ixed by |
|000000e0| 54 69 6d 20 4d 79 65 72 | 73 20 4e 6f 76 65 6d 62 |Tim Myer|s Novemb|
|000000f0| 65 72 20 31 39 38 36 20 | 2a 29 0d 0d 46 52 4f 4d |er 1986 |*)..FROM|
|00000100| 20 53 59 53 54 45 4d 20 | 49 4d 50 4f 52 54 20 41 | SYSTEM |IMPORT A|
|00000110| 44 44 52 45 53 53 3b 0d | 45 58 50 4f 52 54 20 51 |DDRESS;.|EXPORT Q|
|00000120| 55 41 4c 49 46 49 45 44 | 20 20 43 61 6c 6c 2c 20 |UALIFIED| Call, |
|00000130| 4c 6f 61 64 2c 20 55 6e | 6c 6f 61 64 3b 0d 0d 50 |Load, Un|load;..P|
|00000140| 52 4f 43 45 44 55 52 45 | 20 43 61 6c 6c 28 56 41 |ROCEDURE| Call(VA|
|00000150| 52 20 4f 76 4e 61 6d 65 | 3a 20 41 52 52 41 59 20 |R OvName|: ARRAY |
|00000160| 4f 46 20 43 48 41 52 3b | 20 56 41 52 20 72 65 73 |OF CHAR;| VAR res|
|00000170| 75 6c 74 20 3a 20 49 4e | 54 45 47 45 52 29 3b 0d |ult : IN|TEGER);.|
|00000180| 28 2a 20 6c 6f 61 64 20 | 61 6e 64 20 65 78 65 63 |(* load |and exec|
|00000190| 75 74 65 20 6f 76 65 72 | 6c 61 79 20 4f 76 4e 61 |ute over|lay OvNa|
|000001a0| 6d 65 2c 20 61 73 20 61 | 20 73 75 62 72 6f 75 74 |me, as a| subrout|
|000001b0| 69 6e 65 20 2a 29 0d 28 | 2a 20 4f 76 4e 61 6d 65 |ine *).(|* OvName|
|000001c0| 20 6d 75 73 74 20 62 65 | 20 61 20 66 69 6c 65 20 | must be| a file |
|000001d0| 6e 61 6d 65 2c 20 70 6f | 73 73 69 62 6c 79 20 70 |name, po|ssibly p|
|000001e0| 72 65 66 69 78 65 64 20 | 77 69 74 68 20 61 20 76 |refixed |with a v|
|000001f0| 6f 6c 75 6d 65 20 6e 61 | 6d 65 2e 0d 20 20 20 76 |olume na|me.. v|
|00000200| 6f 6c 75 6d 65 20 68 61 | 6e 64 6c 69 6e 67 3a 0d |olume ha|ndling:.|
|00000210| 20 20 20 6e 6f 20 76 6f | 6c 75 6d 65 20 2d 2d 20 | no vo|lume -- |
|00000220| 6f 76 65 72 6c 61 79 20 | 69 73 20 6f 6e 20 74 68 |overlay |is on th|
|00000230| 65 20 64 65 66 61 75 6c | 74 20 76 6f 6c 75 6d 65 |e defaul|t volume|
|00000240| 0d 20 20 20 76 6f 6c 75 | 6d 65 20 20 20 20 2d 2d |. volu|me --|
|00000250| 20 6f 76 65 72 6c 61 79 | 20 69 73 20 6f 6e 20 74 | overlay| is on t|
|00000260| 68 65 20 73 70 65 63 69 | 66 69 65 64 20 76 6f 6c |he speci|fied vol|
|00000270| 75 6d 65 0d 20 20 20 27 | 2a 3a 27 20 20 20 20 20 |ume. '|*:' |
|00000280| 20 2d 2d 20 73 65 61 72 | 63 68 20 6f 76 65 72 6c | -- sear|ch overl|
|00000290| 61 79 20 6f 6e 20 61 6c | 6c 20 74 68 65 20 64 72 |ay on al|l the dr|
|000002a0| 69 76 65 73 2c 20 68 69 | 67 68 65 73 74 20 64 72 |ives, hi|ghest dr|
|000002b0| 69 76 20 6e 75 6d 20 66 | 69 72 73 74 2e 0d 0d 20 |iv num f|irst... |
|000002c0| 20 20 44 6f 6e 65 20 69 | 66 3a 20 6c 6f 61 64 69 | Done i|f: loadi|
|000002d0| 6e 67 2c 20 61 6e 64 20 | 70 6f 73 73 69 62 6c 79 |ng, and |possibly|
|000002e0| 20 65 78 65 63 75 74 69 | 6f 6e 2c 20 61 72 65 20 | executi|on, are |
|000002f0| 65 72 72 6f 72 66 72 65 | 65 2e 0d 20 20 20 64 65 |errorfre|e.. de|
|00000300| 66 61 75 6c 74 20 65 78 | 74 65 6e 73 69 6f 6e 20 |fault ex|tension |
|00000310| 66 6f 72 20 74 68 65 20 | 6c 6f 61 64 20 66 69 6c |for the |load fil|
|00000320| 65 20 73 65 61 72 63 68 | 20 77 69 6c 6c 20 62 65 |e search| will be|
|00000330| 20 2e 4c 4f 44 0d 20 20 | 20 72 65 73 75 6c 74 20 | .LOD. | result |
|00000340| 69 73 20 7a 65 72 6f 2c | 20 77 68 65 6e 20 65 76 |is zero,| when ev|
|00000350| 65 72 79 74 68 69 6e 67 | 20 77 61 73 20 6f 6b 2c |erything| was ok,|
|00000360| 20 6f 74 68 65 72 77 69 | 73 65 20 61 6e 20 65 72 | otherwi|se an er|
|00000370| 72 6f 72 20 6e 75 6d 62 | 65 72 0d 20 20 20 28 73 |ror numb|er. (s|
|00000380| 79 73 74 65 6d 2d 64 65 | 70 65 6e 64 65 6e 74 29 |ystem-de|pendent)|
|00000390| 20 2a 29 0d 0d 0d 28 2a | 20 6d 6f 72 65 20 73 6f | *)...(*| more so|
|000003a0| 70 68 69 73 74 69 63 61 | 74 65 64 20 66 75 6e 63 |phistica|ted func|
|000003b0| 74 69 6f 6e 73 3a 20 28 | 6e 6f 74 20 79 65 74 20 |tions: (|not yet |
|000003c0| 69 6d 70 6c 65 6d 65 6e | 74 65 64 29 20 2a 29 0d |implemen|ted) *).|
|000003d0| 28 2a 20 64 65 66 69 6e | 69 74 65 6c 79 20 6e 6f |(* defin|itely no|
|000003e0| 74 20 72 65 71 75 69 72 | 65 64 20 66 6f 72 20 74 |t requir|ed for t|
|000003f0| 68 65 20 63 6f 6d 70 69 | 6c 65 72 20 21 20 2a 29 |he compi|ler ! *)|
|00000400| 0d 28 2a 20 49 4e 54 45 | 4e 44 45 44 20 46 4f 52 |.(* INTE|NDED FOR|
|00000410| 3a 0d 20 20 20 6d 61 6e | 61 67 65 6d 65 6e 74 20 |:. man|agement |
|00000420| 6f 66 20 73 65 76 65 72 | 61 6c 20 69 6e 64 65 70 |of sever|al indep|
|00000430| 65 6e 64 65 6e 74 20 6c | 6f 61 64 65 64 20 6d 6f |endent l|oaded mo|
|00000440| 64 75 6c 65 73 2e 0d 20 | 20 20 75 73 65 66 75 6c |dules.. | useful|
|00000450| 20 69 6e 20 4d 33 20 66 | 6f 72 20 74 68 65 20 4f | in M3 f|or the O|
|00000460| 2e 53 2e 2c 20 6f 6e 20 | 74 68 65 20 53 4d 41 4b |.S., on |the SMAK|
|00000470| 59 20 38 20 66 6f 72 20 | 58 53 2d 31 2e 0d 20 20 |Y 8 for |XS-1.. |
|00000480| 20 63 6f 6e 73 69 73 74 | 65 6e 63 79 20 69 73 20 | consist|ency is |
|00000490| 69 6d 70 6f 72 74 61 6e | 74 2e 20 69 74 20 69 73 |importan|t. it is|
|000004a0| 20 61 6e 20 65 72 72 6f | 72 20 74 6f 20 6c 6f 61 | an erro|r to loa|
|000004b0| 64 20 77 68 65 6e 20 74 | 68 65 0d 20 20 20 62 61 |d when t|he. ba|
|000004c0| 73 65 20 6c 61 79 65 72 | 20 69 73 20 6e 6f 74 20 |se layer| is not |
|000004d0| 6c 6f 61 64 65 64 2c 20 | 6f 72 20 74 6f 20 75 6e |loaded, |or to un|
|000004e0| 6c 6f 61 64 20 77 68 65 | 6e 20 6f 76 65 72 6c 61 |load whe|n overla|
|000004f0| 79 73 20 61 72 65 0d 20 | 20 20 73 74 69 6c 6c 20 |ys are. | still |
|00000500| 6c 6f 61 64 65 64 2e 0d | 20 20 20 54 68 65 20 69 |loaded..| The i|
|00000510| 64 65 6e 74 69 66 69 63 | 61 74 69 6f 6e 20 6f 66 |dentific|ation of|
|00000520| 20 74 68 65 20 62 61 73 | 65 20 6c 61 79 65 72 20 | the bas|e layer |
|00000530| 66 6f 72 20 61 6e 20 6f | 76 65 72 6c 61 79 20 69 |for an o|verlay i|
|00000540| 73 0d 20 20 20 64 6f 6e | 65 20 61 74 20 6c 69 6e |s. don|e at lin|
|00000550| 6b 20 74 69 6d 65 2e 0d | 20 20 20 73 70 65 63 73 |k time..| specs|
|00000560| 20 77 72 69 74 74 65 6e | 20 62 79 20 6d 65 20 28 | written| by me (|
|00000570| 50 46 29 20 2a 29 0d 0d | 50 52 4f 43 45 44 55 52 |PF) *)..|PROCEDUR|
|00000580| 45 20 4c 6f 61 64 20 28 | 56 41 52 20 6f 76 6e 61 |E Load (|VAR ovna|
|00000590| 6d 65 20 3a 20 41 52 52 | 41 59 20 4f 46 20 43 48 |me : ARR|AY OF CH|
|000005a0| 41 52 3b 20 20 56 41 52 | 20 72 65 66 65 72 65 6e |AR; VAR| referen|
|000005b0| 63 65 3a 20 41 44 44 52 | 45 53 53 3b 0d 20 20 20 |ce: ADDR|ESS;. |
|000005c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 56 41 52 | | VAR|
|000005d0| 20 65 72 72 6f 72 20 3a | 20 49 4e 54 45 47 45 52 | error :| INTEGER|
|000005e0| 29 3b 0d 28 2a 20 6c 6f | 61 64 20 6f 76 65 72 6c |);.(* lo|ad overl|
|000005f0| 61 79 20 20 6f 76 6e 61 | 6d 65 20 20 69 6e 74 6f |ay ovna|me into|
|00000600| 20 6d 65 6d 6f 72 79 2c | 20 61 6e 64 20 65 78 65 | memory,| and exe|
|00000610| 63 75 74 65 20 69 74 73 | 20 69 6e 69 74 69 61 6c |cute its| initial|
|00000620| 69 7a 61 74 69 6f 6e 20 | 70 61 72 74 2e 0d 20 20 |ization |part.. |
|00000630| 20 64 6f 65 73 20 6e 6f | 74 20 75 6e 6c 6f 61 64 | does no|t unload|
|00000640| 20 69 74 2e 20 63 6f 64 | 65 20 61 6e 64 20 64 61 | it. cod|e and da|
|00000650| 74 61 20 72 65 6d 61 69 | 6e 20 69 6e 20 6d 65 6d |ta remai|n in mem|
|00000660| 6f 72 79 20 2a 29 0d 0d | 50 52 4f 43 45 44 55 52 |ory *)..|PROCEDUR|
|00000670| 45 20 55 6e 6c 6f 61 64 | 20 28 72 65 66 65 72 65 |E Unload| (refere|
|00000680| 6e 63 65 3a 20 41 44 44 | 52 45 53 53 3b 20 56 41 |nce: ADD|RESS; VA|
|00000690| 52 20 65 72 72 6f 72 3a | 20 49 4e 54 45 47 45 52 |R error:| INTEGER|
|000006a0| 29 3b 0d 28 2a 20 75 6e | 6c 6f 61 64 20 74 68 65 |);.(* un|load the|
|000006b0| 20 72 65 66 65 72 65 6e | 63 65 64 20 6f 76 65 72 | referen|ced over|
|000006c0| 6c 61 79 20 2a 29 0d 0d | 45 4e 44 20 4c 6f 61 64 |lay *)..|END Load|
|000006d0| 65 72 2e 0d 0d 00 00 00 | 00 00 00 00 00 00 00 00 |er......|........|
|000006e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000006f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000700| 00 00 01 00 00 00 01 16 | 00 00 00 16 00 00 00 46 |........|.......F|
|00000710| 79 ab 00 00 00 a1 00 d6 | 00 00 06 bf 00 00 08 00 |y.......|........|
|00000720| 00 00 00 00 00 00 00 00 | 00 00 99 8c e8 61 9b d2 |........|.....a..|
|00000730| 0a 4c 6f 61 64 65 72 2e | 44 45 46 65 02 00 00 00 |.Loader.|DEFe....|
|00000740| 54 45 58 54 50 4d 45 44 | 01 00 00 80 00 c0 3b c6 |TEXTPMED|......;.|
|00000750| 00 00 54 45 58 54 50 4d | 45 44 01 00 00 80 00 c0 |..TEXTPM|ED......|
|00000760| 3b c6 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |;.......|........|
|00000770| 00 00 99 8c e8 61 00 00 | 06 55 00 00 01 5c 00 00 |.....a..|.U...\..|
|00000780| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000007f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000800| 00 00 00 04 00 06 00 08 | 00 00 00 0a 00 09 06 4d |........|.......M|
|00000810| 6f 6e 61 63 6f 04 00 00 | 01 00 00 00 01 16 00 00 |onaco...|........|
|00000820| 00 16 00 00 00 46 00 03 | b4 60 02 94 00 00 00 1c |.....F..|.`......|
|00000830| 00 46 00 01 45 54 41 42 | 00 00 00 12 45 46 4e 54 |.F..ETAB|....EFNT|
|00000840| 00 00 00 1e 03 ec ff ff | 00 00 00 00 00 03 b4 18 |........|........|
|00000850| 03 eb ff ff 00 00 00 08 | 00 03 a7 ea 00 00 00 00 |........|........|
|00000860| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000870| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+